import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 导入axios
import axios from 'axios'
// 导入vant组件
import Vant from 'vant'
import 'vant/lib/index.css'
import './assets/css/global.css'
Vue.use(Vant)
Vue.config.productionTip = false
axios.defaults.baseURL = 'http://127.0.0.1:8080'
Vue.prototype.$http = axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
